﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaiTu.Framework.Core.Global
{
    /// <summary>
    /// 程序运行全局默认值
    /// </summary>
    public class BaiTuGlobal
    {
        /// <summary>
        /// Redis 配置 定时器间隔时间 默认值
        /// </summary>
        public static int ConfigTimer
        {
            get
            {
                return 60000;
            }
        }
        /// <summary>
        /// 获取当前时间
        /// </summary>
        public static DateTime CurrentDateTime
        {
            get
            {
                return DateTime.Now;
            }
        }

        public static string SessionDESKey
        {
            get
            {
                return "BaiTuSessionKey";
            }
        }
    }
}
